package com.alex.server.service;

import com.alex.server.domain.Teacher;
import com.alex.server.dto.CategoryDto;
import com.alex.server.dto.TeacherDto;
import com.alex.server.dto.PageDto;

import java.util.List;

/**
 * 课程章程service
 */
public interface ITeacherService {
    PageDto list(PageDto pageDto);

    void save(TeacherDto teacherDto);

    void insert(Teacher teacher);

    void update(Teacher teacher);

    void delete(String id);

    List<TeacherDto> all();
}